kmacy@netapp.com[kaf24] [Mon, 2 May 2005 08:33:37 +0000 (08:33 +0000)]
bitkeeper revision 1.1389.1.22 (4275e5e1eelF9eh7n92D3W-1Ju8Fzg)
[PATCH] [PATCH] make XenFreeBSD VBD ring full handling sensible
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2005/05/01 23:48:15-07:00 kmacy@curly.lab.netapp.com
# make ring full handling sensible
# Signed-off-by: Kip Macy <kmacy@netapp.com>
#
# freebsd-5.3-xen-sparse/i386-xen/xen/blkfront/xb_blkfront.c
# 2005/05/01 23:48:12-07:00 kmacy@curly.lab.netapp.com +48 -5
# make ring full handling sensible
#
kmacy@netapp.com[kaf24] [Mon, 2 May 2005 08:33:31 +0000 (08:33 +0000)]
bitkeeper revision 1.1389.1.21 (4275e5dbz3R_E1mjaxcOhfE7cYQy0w)
[PATCH] [PATCH] update evtchn for SMP
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2005/05/01 17:01:17-07:00 kmacy@curly.lab.netapp.com
# add SMP support to evtchn
# Signed-off-by: Kip Macy <kmacy@netapp.com>
#
# freebsd-5.3-xen-sparse/i386-xen/include/xen_intr.h
# 2005/05/01 17:01:15-07:00 kmacy@curly.lab.netapp.com +3 -0
# add SMP interfaces
#
# freebsd-5.3-xen-sparse/i386-xen/i386-xen/evtchn.c
# 2005/05/01 17:01:15-07:00 kmacy@curly.lab.netapp.com +85 -9
# add SMP support
#
kmacy@netapp.com[kaf24] [Mon, 2 May 2005 08:33:19 +0000 (08:33 +0000)]
bitkeeper revision 1.1389.1.20 (4275e5cf8rSBidyFfn32zpPSsOA_xw)
[PATCH] [PATCH] make XenFreeBSD trapframe the same as native
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2005/05/01 16:04:24-07:00 kmacy@curly.lab.netapp.com
# Make trapframe the same size as on native i386
# Signed-off-by: Kip Macy <kmacy@fsmware.com>
#
# freebsd-5.3-xen-sparse/i386-xen/include/pcpu.h
# 2005/05/01 16:04:20-07:00 kmacy@curly.lab.netapp.com +3 -2
# add per-cpu fields for evtchn and page faults
#
# freebsd-5.3-xen-sparse/i386-xen/i386-xen/trap.c
# 2005/05/01 16:04:20-07:00 kmacy@curly.lab.netapp.com +1 -9
# remove STACK_DEBUGGING cruft
# fetch cr2 from pcpu area
#
# freebsd-5.3-xen-sparse/i386-xen/i386-xen/genassym.c
# 2005/05/01 16:04:20-07:00 kmacy@curly.lab.netapp.com +1 -2
# remove unused trap_nesting
# add cr2 field
#
# freebsd-5.3-xen-sparse/i386-xen/i386-xen/exception.s
# 2005/05/01 16:04:20-07:00 kmacy@curly.lab.netapp.com +41 -31
# Save CR2 after trap frame then move to pcpu area
#
# BitKeeper/deleted/.del-ucontext.h~
6f534fc91cb2d96b
# 2005/05/01 15:56:03-07:00 kmacy@curly.lab.netapp.com +0 -1
# Delete: freebsd-5.3-xen-sparse/i386-xen/include/ucontext.h
#
# BitKeeper/deleted/.del-frame.h~
fbfe41b49597c684
# 2005/05/01 15:55:59-07:00 kmacy@curly.lab.netapp.com +3 -3
# Delete: freebsd-5.3-xen-sparse/i386-xen/include/frame.h
#
kaf24@firebug.cl.cam.ac.uk[kaf24] [Sat, 30 Apr 2005 15:20:55 +0000 (15:20 +0000)]
bitkeeper revision 1.1389.1.19 (4273a257_YthmItOayXCOoUAFw7rYA)
wrpt-disable.patch
Disable writable pagetables in FreeBSD for the time being.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
kaf24@firebug.cl.cam.ac.uk[kaf24] [Sat, 30 Apr 2005 15:19:31 +0000 (15:19 +0000)]
bitkeeper revision 1.1389.1.18 (4273a203Crs6SOBhDcJcXdza1-0gNw)
dump-enable.patch
Dump guest core if enable-dump is set.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
kaf24@firebug.cl.cam.ac.uk[kaf24] [Sat, 30 Apr 2005 08:50:08 +0000 (08:50 +0000)]
bitkeeper revision 1.1389.1.17 (427346c0aRp-AQNVyrLuVwZpeN01Sg)
crash.patch
FreeBSD calls domain_crash() on error so that its core is dumped.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
kaf24@firebug.cl.cam.ac.uk[kaf24] [Sat, 30 Apr 2005 08:45:02 +0000 (08:45 +0000)]
bitkeeper revision 1.1389.1.16 (4273458eyxEjHSppjkQyDsXHHxOY9Q)
coredump.patch
Extend libxc and gdb server to coredump a domain.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
arun.sharma@intel.com[kaf24] [Sat, 30 Apr 2005 08:35:58 +0000 (08:35 +0000)]
bitkeeper revision 1.1389.1.15 (4273436eypuqO7C1_MKQjhBV2kylZw)
[PATCH] vmx-mach-to-phys.patch
VMX domains need to setup their machine to physical maps.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 30 Apr 2005 08:35:33 +0000 (08:35 +0000)]
bitkeeper revision 1.1389.1.14 (427343557mBKHXIKNWB3vC3vSFMQ7g)
Fix xc_ptrace for paravirtualized guests.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
kraxel@bytesex.org[kaf24] [Fri, 29 Apr 2005 12:54:16 +0000 (12:54 +0000)]
bitkeeper revision 1.1389.1.13 (42722e78tJ9dMvMOlJBiS68RNPTvfw)
[PATCH] [patch] pgtable.c cleanups
Hi guys,
The new mm_(un)pin stuff is certainly a nice optimization.
But can we take care a bit more about coding style issues
and write code not *that* hackish please? Casts, code
duplication, "unsigned long" for page table entries *again*.
And a few more variables also make the code more readable
(and gcc should be clever enougth that this isn't a
performance hit). We want to have that merged some day in
mainline, don't we?
The patch below cleans up the pin/unpin code in pgtable.c
I've created two helper functions to factor out common code,
the page table walk is basically the same for both pin and
unpin, it's just different page flags. Also fixed up the
walk code to correcly walk through all 4 levels linux has,
so it works correctly for the PAE case. For x86_64 it
should work fine as well (untested though).
please apply,
Gerd
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Apr 2005 08:36:31 +0000 (08:36 +0000)]
bitkeeper revision 1.1389.1.12 (4271f20fuu_UWEqTVagTm3zNUhVqJA)
Simplify cdb.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@scramble.cl.cam.ac.uk [Fri, 29 Apr 2005 08:17:13 +0000 (08:17 +0000)]
bitkeeper revision 1.1389.1.11 (4271ed89U5mhUAOu2YJ7RzMMN68r6Q)
Fix build for older gcc versions.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 21:45:54 +0000 (21:45 +0000)]
bitkeeper revision 1.1389.1.10 (42715992Ch3pU44CxrgkzMqOnsRiOA)
merge
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 21:43:58 +0000 (21:43 +0000)]
bitkeeper revision 1.1159.258.109 (4271591efy8CDaEUexiC4RrOlWxDNg)
Backport of bugfix to ensure that p2m entries are invalidated
before returning memory back to Xen allocation pool.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 21:35:49 +0000 (21:35 +0000)]
bitkeeper revision 1.1389.1.9 (42715735MS5tAFkKmbN0nXUetfgXZQ)
Remove unnecessary SYMBOL_NAME* macros.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 21:32:24 +0000 (21:32 +0000)]
bitkeeper revision 1.1389.1.8 (42715668DjHMmednZbpL0cOFNSNyoA)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 21:32:15 +0000 (21:32 +0000)]
bitkeeper revision 1.1389.3.2 (4271565ftYSScxkytTffbiBskngf9Q)
Fix previous changeset: idle domains were not initialising correctly.
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 21:04:10 +0000 (21:04 +0000)]
bitkeeper revision 1.1389.1.7 (42714fcaJfH4LWe4KjV59B7zj8NX0g)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 20:55:07 +0000 (20:55 +0000)]
bitkeeper revision 1.1389.3.1 (42714dabVSywx2XWGjgw2J54ZylwYg)
Ensure block/yield hypercalls always return a sane return code.
Ensure callers of __enter_scheduler take appropriate arch-specific
action if no context switch occurs (callers from arch/x86 do not
expect to return from a call into the scheduler).
This fixes wildly unintuitive behaviour of do_block() for the
VMX team.
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 20:54:17 +0000 (20:54 +0000)]
bitkeeper revision 1.1389.1.6 (42714d79tPZMQxulWS1AIvjumdITww)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
cl349@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 20:50:48 +0000 (20:50 +0000)]
bitkeeper revision 1.1389.2.2 (42714ca83Gv7CX98R4gC0TU3w-pX1Q)
Merge xen-2.0-testing "sync w/ unstable" changes.
cl349@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 20:47:24 +0000 (20:47 +0000)]
bitkeeper revision 1.1389.2.1 (42714bdc95kBU21y23J3Wciri--8Yw)
Merge xen-2.0-testing "sync w/ unstable" changes.
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 18:26:25 +0000 (18:26 +0000)]
bitkeeper revision 1.1389.1.5 (42712ad1Qoo2MSKU_8_-kkJWHY9E9g)
Handle the possibility that FXRSTOR may fault by silently clearing
the data area that it is restoring from. This may occur if control
tools reload a saved VM image without adequate checking, for example.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 18:04:45 +0000 (18:04 +0000)]
bitkeeper revision 1.1389.1.4 (427125bdwah0mehgnafVLP-gRLDM_w)
Avoid field duplication between vcpu_guest_context and arch_exec_domain
structures. The latter now includes the former as a sub-field.
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 15:23:35 +0000 (15:23 +0000)]
bitkeeper revision 1.1159.258.108 (4270fff77uXrP6ebmHEte60f5WLI-w)
pgtable.c:
Use virt_to_ptep.
pgtable.h:
add virt_to_ptep.
cl349@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 15:12:37 +0000 (15:12 +0000)]
bitkeeper revision 1.1389.1.3 (4270fd65aVhWKwId5_N9ojnjER84Dw)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
cl349@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 15:11:15 +0000 (15:11 +0000)]
bitkeeper revision 1.1385.2.1 (4270fd13Fv84etl6vfPTPXdxld-15A)
page.h:
Revert change to pgd_val to always set the PAGE_PRESENT bit.
fixup.c:
Cleanup whitespace.
setup.c:
Whitespace cleanup.
Whitespace cleanups.
process.c:
Whitespace.
pci-dma.c:
revert part of previous for sync w/ 2.0.
g/c unused code and cleanup whitespace.
head.S:
Break __xen_guest definition up in several lines.
common.c:
whitespace cleanup.
cl349@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 15:08:57 +0000 (15:08 +0000)]
bitkeeper revision 1.1159.258.107 (4270fc89Gyl1f0UFludQff4kq09XvQ)
reboot.c, init.c, hypervisor.h, evtchn.h, tlbflush.h, pgtable-2level.h:
sync w/ unstable.
system.h:
Fix typo.
pgtable.h, fixup.c, irq.c, direct.c, timer_tsc.c, pci-dma.c, init.c, fault.c:
Cleanup whitespace.
page.h:
Turn __pte and __pgd into #define's like the original definitions.
Add casts to unsigned long for phys_to_machine_mapping and
machine_to_phys_mapping.
fixmap.h, Makefile:
gnttab is not used in 2.0.
.del-gnttab.c~
4461d10e936c37ab:
Delete: linux-2.6.11-xen-sparse/arch/xen/kernel/gnttab.c
.del-gnttab.h~
974eaf5d22418ecd:
Delete: linux-2.6.11-xen-sparse/include/asm-xen/gnttab.h
setup.c:
Add panic notification handler.
Change phys_to_machine_mapping from unsigned long * to unsigned int *.
Whitespace cleanups.
page.h:
Change phys_to_machine_mapping from unsigned long * to unsigned int *.
process.c:
UTSNAME -> system_utsname.release as in plain Linux.
Disable preemption before reading smp_processor_id.
head.S:
sync w/ unstable for maintenance -- backport SMP-guest support bits.
Break __xen_guest definition up in several lines.
ldt.c, desc.h, common.c:
Move queue flush into load_LDT().
common.c:
g/c unused code.
Kconfig:
Fix whitespace for microcode option.
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 14:04:13 +0000 (14:04 +0000)]
bitkeeper revision 1.1389.1.2 (4270ed5dZvr_HdIQR0eBM2m4Kj81_A)
Renames:
execution_context/xen_regs -> cpu_user_regs
full_execution_context -> vcpu_guest_context
[defined both 'struct xxx' and 'xxx_t' forms]
Signed-off-by: Keir Fraser <keir@xensource.com>
smh22@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 13:52:41 +0000 (13:52 +0000)]
bitkeeper revision 1.1389.1.1 (4270eaa9i26XkdEPCi0_DHgtMgxvAw)
fix 2.4 build
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 08:56:40 +0000 (08:56 +0000)]
bitkeeper revision 1.1389 (4270a548HjJvvxATKrCShKKiLW-siw)
Cset exclude: vh249@arcadians.cl.cam.ac.uk|ChangeSet|
20050427165530|30167
vh249@arcadians.cl.cam.ac.uk [Wed, 27 Apr 2005 16:55:50 +0000 (16:55 +0000)]
bitkeeper revision 1.1388 (426fc416kd_SxU1l3YCeVWTczbT41A)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into arcadians.cl.cam.ac.uk:/local/scratch-2/vh249/xen-unstable.bk
vh249@arcadians.cl.cam.ac.uk [Wed, 27 Apr 2005 16:55:30 +0000 (16:55 +0000)]
bitkeeper revision 1.1387 (426fc402cahZ53Mlz7Pca5KY50Y6tA)
include/xen/banner.h will be only change if there's differences with the new one.
add correct dependencies, so that console.c is now rebuild when necessary now.
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 27 Apr 2005 14:42:32 +0000 (14:42 +0000)]
bitkeeper revision 1.1385.1.6 (426fa4d8AQ8dQHrihxXpPojuqYnL0g)
Improve multi-processor XenLinux fork/exec/destroy times. We do this
by lazily pinning page-tables for p.t. use, and aggressively unpinning
them on last use, to put as little pressure on the batched wrpt
interface as possible. Basically this means that the copy loop and
destroy loop will usually be able to directly write pagetables with no
Xen intervention at all (implicit or explicit).
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 27 Apr 2005 10:39:11 +0000 (10:39 +0000)]
bitkeeper revision 1.1385.1.5 (426f6bcf8GMOwEKfaglrPUwWZTaHAg)
clean the ignores list.
kaf24@firebug.cl.cam.ac.uk [Wed, 27 Apr 2005 10:37:26 +0000 (10:37 +0000)]
bitkeeper revision 1.1385.1.4 (426f6b66K5Xrx0v2--zUfkahi8mIUw)
Invalidate p2m entries when blocks of phys memory are handed back to
Xen allocation pool. This is the correct fix for the "dom0 kernel
crashes when I create a domU" bug.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 27 Apr 2005 10:35:49 +0000 (10:35 +0000)]
bitkeeper revision 1.1385.1.3 (426f6b05kK8EBkiTLCXBeJZCPG2ZgQ)
Cset exclude: bren@br260.wolfson.cam.ac.uk|ChangeSet|
20050426221254|30123
bren@br260.wolfson.cam.ac.uk [Tue, 26 Apr 2005 22:12:54 +0000 (22:12 +0000)]
bitkeeper revision 1.1385.1.2 (426ebce6uikcKvm56neQ1G3uFEGApw)
Properly set memory parameters for newly created domains.
Signed-off-by: Bin Ren <bin.ren@cl.cam.ac.uk>
smh22@firebug.cl.cam.ac.uk [Tue, 26 Apr 2005 14:30:28 +0000 (14:30 +0000)]
bitkeeper revision 1.1385.1.1 (426e50841dwkW8TPBgE1y4h3O71bsQ)
build when DEBUG=1 + whitespace fixes
vh249@arcadians.cl.cam.ac.uk [Tue, 26 Apr 2005 13:37:38 +0000 (13:37 +0000)]
bitkeeper revision 1.1386 (426e4422Fnf4uJoD_xnCwL17Xg94aA)
remove redundant NULL check before xfree()
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 26 Apr 2005 09:31:16 +0000 (09:31 +0000)]
bitkeeper revision 1.1385 (426e0a64bO3xeXCBe6s8h2DX9QnqbQ)
Simple batched writable p.t. support for multi-processor guests.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Apr 2005 22:21:26 +0000 (22:21 +0000)]
bitkeeper revision 1.1384 (426d6d66A3AfjqSI_9GpheK5U1rydQ)
Fix xlvbd_device_alloc to memset() allocated memory correctly.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Apr 2005 16:53:12 +0000 (16:53 +0000)]
bitkeeper revision 1.1383 (426d2078vvMiOXQcJ98uhha5uIt0Sw)
Enormously better process destruction performance. By not running on
pagetables when we are destroying them we massively reduce TLB flushes
and increase writable p.t. batches. This patch would probably improve
even native Linux performance, because of the rabid ZAP_BLOCK_SIZE
changes to unmap_vmas() that were introduced to 2.6.11. :-)
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Apr 2005 15:10:07 +0000 (15:10 +0000)]
bitkeeper revision 1.1382 (426d084fj_L9HqLwTZs1okz5LbnXcg)
Fix writable pagetables for uniproc domains such that we don't use the
emulation path every time.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Apr 2005 10:58:04 +0000 (10:58 +0000)]
bitkeeper revision 1.1381 (426ccd3chFZ3jThNSK9--Zvf3r2fug)
No longer disable format checking for printf/printk statements. This
required a whole bunch of cleanups to get the build working again.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Apr 2005 09:04:02 +0000 (09:04 +0000)]
bitkeeper revision 1.1380 (426cb282h_zj6PQYX7HuwLMZrI68ig)
More gcc4 signed/unsigned char fixes.
Signed-off-by: Keir Fraser <keir@xensource.com>
leendert@watson.ibm.com[kaf24] [Mon, 25 Apr 2005 07:55:36 +0000 (07:55 +0000)]
bitkeeper revision 1.1379 (426ca278F5TOjFztt77FKYt8v457dg)
[PATCH] [PATCH] Assorted VMX patches
This patch contains the following VMX patches:
- ioemu: Update the address when doing a stosb/stosw/stosl. Without this patch
stosb writes req->count times at the same location req->addr. Not exactly
the intended semantics.
- xc_ptrace.c: Use the page_array to refer to partition memory. This allows
you to use gdbserver on a VMX partition (and presumably partitions that use
shadow page tables).
- dom0_ops.c: Preserve ECF_VMX_GUEST flag for gdbserver. Without it you
cannot (re)set the VMX domain state.
- vmx.c: Added support for lmsw. Unmodified FreeBSD uses this when running
inside a VMX partition.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
===== tools/ioemu/iodev/cpu.cc 1.8 vs edited =====
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Apr 2005 07:55:26 +0000 (07:55 +0000)]
bitkeeper revision 1.1378 (426ca26eUpP7OInuOBvTyETb6y9VRQ)
Add /usr/lib64/python to the path for python tools so that they can be
found on 64-bit platforms.
Signed-off-by: Jerone Young <jyoung@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 16:01:19 +0000 (16:01 +0000)]
bitkeeper revision 1.1377 (426a714f6V9I7WsWjOjg5UyMTHIubA)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 16:00:42 +0000 (16:00 +0000)]
bitkeeper revision 1.1159.258.106 (426a712aViBd_l7Q-xevKeNJhNJHSw)
Makefile:
Fix mkpatches build target to ignore freebsd error.
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 14:53:20 +0000 (14:53 +0000)]
bitkeeper revision 1.1376 (426a6160VtACVFwzChimSdGZNrpWGg)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 11:18:20 +0000 (11:18 +0000)]
bitkeeper revision 1.1375 (426a2efcnNwCi2J-ptewqWF_62U1-g)
xenpmap.h, hypervisor.h, xen_machdep.c, pmap.c, machdep.c:
Writable pagetables for freebsd.
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 11:10:11 +0000 (11:10 +0000)]
bitkeeper revision 1.1374 (426a2d13oNszAPe4DJtPXXT5G-vZVQ)
evtchn.c:
Fix freebsd lockup.
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 11:04:40 +0000 (11:04 +0000)]
bitkeeper revision 1.1373 (426a2bc8m7wX71OOkLtSOgNXcrObMA)
xc_domain.c:
Ensure ctxt is mlocked in xc_domain_getfullinfo.
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 10:53:18 +0000 (10:53 +0000)]
bitkeeper revision 1.1372 (426a291er6fDcjQLyYtGSP3XQORoWQ)
grant_table.c:
gcc4 tweak.
kaf24@firebug.cl.cam.ac.uk [Fri, 22 Apr 2005 16:57:55 +0000 (16:57 +0000)]
bitkeeper revision 1.1371 (42692d136tRflIX7G4VOXJLCJstFVw)
Hi folks,
arch/xen/x86_64/kernel/entry.S | 131
+++++++++++++++++++--------------
arch/xen/x86_64/kernel/process.c | 5 -
arch/xen/x86_64/kernel/traps.c | 3
arch/xen/x86_64/kernel/vsyscall.c | 2
include/asm-xen/asm-x86_64/hypercall.h | 5 -
include/asm-xen/asm-x86_64/system.h | 6 -
6 files changed, 88 insertions(+), 64 deletions(-)
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Attached contains bug fixes:
1. hang at floppy driver
2. hiccups at boot time
3. FP save/restore
4. cleanups in entry.S (critical section fixup, etc.)
5. time problem (temporarily disables vgettimeofday that uses TSC). I'm
not sure if we can use TSC-based vxtime in Xen. So we need some cleanups
there.
1 & 2 were simply fixed in process.c; xen_idle() is now identical to the
32-bit one.
I'm still working on failsafe_callback (because now I'm getting it), but
the system should be ready for broader ranges of people. Some config
seems to cause a panic in the hypervisor, and I'm also looking at it.
kaf24@firebug.cl.cam.ac.uk [Fri, 22 Apr 2005 16:42:55 +0000 (16:42 +0000)]
bitkeeper revision 1.1370 (4269298fN8pBqkwEJEdXf9MR8bXVzA)
Add a headroom check to MMUEXT_REASSIGN_PAGE.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 22 Apr 2005 16:34:45 +0000 (16:34 +0000)]
bitkeeper revision 1.1369 (426927a5No_sHhV62q0TEbxYu-jcHA)
Hypercall preemption check also looks for pending event upcalls to
guest kernel.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 22 Apr 2005 16:34:08 +0000 (16:34 +0000)]
bitkeeper revision 1.1368 (42692780QS8e5vEYZOY8vFfJQySx9Q)
Force efficient implementation of __put_user().
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 22 Apr 2005 16:10:53 +0000 (16:10 +0000)]
bitkeeper revision 1.1367 (4269220d42QVzUVVn9-Tn1tb9fNSWw)
Remove memory and cpu parameters from DOM0_CREATEDOMAIN, and remove
DOM0_SETINITIALMEM. You can get the same effect via PINCPU,
SETMAXMEM, and do_mem_op(increase_reservation).
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 22 Apr 2005 09:17:26 +0000 (09:17 +0000)]
bitkeeper revision 1.1366 (4268c126o36cKcnzrSkVxkbrPsoz1g)
Clean up shadow destruction and fix domain destroy when shadow mode
is disabled.
Signed-off-by: Keir Fraser <keir@xensource.com>
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 22:33:54 +0000 (22:33 +0000)]
bitkeeper revision 1.1365 (42682a52hWoXmZEjWb2-0Ly05egFKg)
Hand merged...
Signed-off-by: michael.fetterman@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Thu, 21 Apr 2005 21:43:23 +0000 (21:43 +0000)]
bitkeeper revision 1.1357.1.1 (42681e7b7KG-juYnPnNfse4HYMkaMw)
Make find_highest_irq() work for both 32 and 64 bit.
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: ian@xensource.com
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 20:53:42 +0000 (20:53 +0000)]
bitkeeper revision 1.1364 (426812d6FWlbLqlBBPVfuegkt0_fyg)
Now that the shadow code is squashing the global bit in PTEs,
it's OK to re-enable the PGE capability flag for vmx domains.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 20:29:00 +0000 (20:29 +0000)]
bitkeeper revision 1.1363 (42680d0cgIEixfhEIj_iwmyZ73FnfA)
Fix assertion in delete_shadow_status to allow for removal of PGT_writable_pred's...
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 20:18:32 +0000 (20:18 +0000)]
bitkeeper revision 1.1362 (42680a98yqGgnpTBOHnevLNLv2y9uw)
Minor cleanup of the SH_V*LOG macros.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 20:17:39 +0000 (20:17 +0000)]
bitkeeper revision 1.1361 (42680a63VNdw2vcBm5FrW2nhMZ_Ovw)
Fix another bug introduced in the shadow code with the new page table entry macros.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 19:14:36 +0000 (19:14 +0000)]
bitkeeper revision 1.1360 (4267fb9cE5_cr52xAcYJVAIQ7vYIzg)
Added SH_VVVLOG, rather than #if 0, for useful but incredibly verbose shadow mode debugging hook
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 19:13:59 +0000 (19:13 +0000)]
bitkeeper revision 1.1359 (4267fb77Hyv3hRzHLAvCoA2BMyz59A)
Fix bug introduced in the shadow code with the new page table entry macros.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 17:39:45 +0000 (17:39 +0000)]
bitkeeper revision 1.1358 (4267e561Ml7gO0DQYGp9EYRUYPBDHA)
Merge burn.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into burn.cl.cam.ac.uk:/local/scratch-1/maf46/xen-unstable.bk
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 17:34:14 +0000 (17:34 +0000)]
bitkeeper revision 1.1340.1.3 (
4267e4164-4aUgpDERur941-hMFzxg)
fix vmx problems
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 17:30:34 +0000 (17:30 +0000)]
bitkeeper revision 1.1340.1.2 (4267e33asTxlaqmSE5FbomPUak_0JQ)
Shadow mode should (for now) *not* set the _PAGE_GLOBAL mode in any of the shadow page tables.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 17:29:29 +0000 (17:29 +0000)]
bitkeeper revision 1.1340.1.1 (4267e2f9w3cY4KkexyNS9ToHGVVs9Q)
Patch to enable the destruction of domains which have shadow mode enabled.
Also fixes some shadow mode ref counting bugs, and one bug in check_pte()
recently introduced by the changes in page table accessor types/macros.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
kaf24@firebug.cl.cam.ac.uk [Thu, 21 Apr 2005 15:39:08 +0000 (15:39 +0000)]
bitkeeper revision 1.1357 (4267c91c8u7H5ttS9RWRyBY5FrTm3g)
Fix APIC setup on legacy systems.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 21 Apr 2005 14:19:31 +0000 (14:19 +0000)]
bitkeeper revision 1.1356 (4267b673efcxbbD0RRVHEKvD5FY3Ng)
A few APIC cleanups. I hate '#if 0' code.
Signed-off-by: Keir Fraser <keir@xensource.com>
bren@br260.wolfson.cam.ac.uk [Thu, 21 Apr 2005 12:12:12 +0000 (12:12 +0000)]
bitkeeper revision 1.1355 (4267989cdNkLLXE3U927LF_DDyF0vA)
Makefile cleanup.
bren@br260.wolfson.cam.ac.uk [Thu, 21 Apr 2005 12:07:43 +0000 (12:07 +0000)]
bitkeeper revision 1.1354 (4267978fFQb5kQkxkvTFxgEKkOUzLQ)
Enable the ProcFS part of grant table only when CONFIG_PROC_FS is defined.
This is also necessary for separate driver domains that contain block
device backend driver and operate in kernel-mode only (thus ProcFS turned off).
Signed-off-by: Bin Ren <bin.ren@cl.cam.ac.uk>
bren@br260.wolfson.cam.ac.uk [Thu, 21 Apr 2005 11:35:36 +0000 (11:35 +0000)]
bitkeeper revision 1.1353 (42679008eE6ft7E62R0UneGs51hd-w)
Enable grant table suspend and resume when CONFIG_XEN_BLKDEV_GRANT
is defined.
Signed-off-by: Bin Ren <bin.ren@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Thu, 21 Apr 2005 10:46:29 +0000 (10:46 +0000)]
bitkeeper revision 1.1352 (42678485GbfE9tHK21SYM_tM6xSlBQ)
Add 8-byte version of cmpxchg_user() for i386.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 21 Apr 2005 10:15:23 +0000 (10:15 +0000)]
bitkeeper revision 1.1351 (42677d3b7Caqgw-mG40oawn1nybJ4A)
Fix segment save/restore during context switching on x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 21 Apr 2005 09:14:12 +0000 (09:14 +0000)]
bitkeeper revision 1.1350 (42676ee4BkgqwvPiIyB44k55uY8cSA)
Fix blkdev suspend/resume.
Signed-off-by: Keir Fraser <keir@xensource.com>
iap10@freefall.cl.cam.ac.uk [Thu, 21 Apr 2005 08:40:45 +0000 (08:40 +0000)]
bitkeeper revision 1.1159.258.105 (4267670d6FkIvFKVISqYF-TBHKlEMg)
docs typo fix
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: ian@xensource.com
arun.sharma@intel.com[iap10] [Thu, 21 Apr 2005 00:16:35 +0000 (00:16 +0000)]
bitkeeper revision 1.1349 (4266f0e3WdYR9ou-iJ615G_cx6Whhg)
[PATCH] use-large-file-api.patch
Support > 2G root fs on i386.
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@tetris.cl.cam.ac.uk [Thu, 21 Apr 2005 00:11:07 +0000 (00:11 +0000)]
bitkeeper revision 1.1348 (4266ef9bSWLiNFi-ZJ_TkK7jYaRikA)
Truly round off the div result to get right PIT frequency for guest.
Otherwise, the guest's idea of time drifts away from that of the host.
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@tetris.cl.cam.ac.uk [Thu, 21 Apr 2005 00:05:05 +0000 (00:05 +0000)]
bitkeeper revision 1.1347 (4266ee31uFDz7ZMst_Cy-vYbXJ2EZw)
__vmxon() is called twice for the boot cpu, because identify_cpu() is called
twice. This patch ensures that identify_cpu() and hence __vmxon() is called
exactly once for the boot CPU on SMP.
Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Wed, 20 Apr 2005 21:22:46 +0000 (21:22 +0000)]
bitkeeper revision 1.1346 (4266c8260coTi59LSeJsnETrYAWOdw)
fix compile
leendert@watson.ibm.com[iap10] [Wed, 20 Apr 2005 20:35:17 +0000 (20:35 +0000)]
bitkeeper revision 1.1345 (4266bd05lHlHunb0CEvOq60j2DvKCQ)
[PATCH] VMX world switch
The attached code implements a VMX world switch to vmxassist (a small assist
module residing in a VMX enabled partition where it is responsible for
emulating real mode) whever CR0.PE is disabled.
The patch temporarily disables the PGE feature flag in cpuid as it is
currently broken (try running an unmodified 2.6 kernel that sets PGE in
mm/init.c/paging_init()).
The patch adds consistency checks before setting the ARCH_VMX_IO_WAIT state
to detect race conditions on SMP systems.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
Signed-off-by: ian@xensource.com
cwc22@centipede.cl.cam.ac.uk [Wed, 20 Apr 2005 18:39:42 +0000 (18:39 +0000)]
bitkeeper revision 1.1344 (4266a1eeiNiXbU4vcENZiEEaX7Iybw)
grant-tables.txt:
fix to error check condition after map
blkback.c:
bug fix to grant table code in block backend
Kconfig:
amend config entry for XEN_BLKDEV_GRANT
kaf24@firebug.cl.cam.ac.uk [Wed, 20 Apr 2005 17:46:27 +0000 (17:46 +0000)]
bitkeeper revision 1.1343 (42669573FPZbSiupGqFkPopp_NRfpA)
Make the fallback memset/memcpy/memmove have a concrete in-place
implementation, or we end up with a recursive dependency when building
for x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 20 Apr 2005 14:29:18 +0000 (14:29 +0000)]
bitkeeper revision 1.1342 (4266673eMuou_Ng4Ze7pzPUJ4IL7bg)
Fix memset/memcmp/memmove declaration/definition.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 20 Apr 2005 13:57:08 +0000 (13:57 +0000)]
bitkeeper revision 1.1341 (42665fb46UgwC9x1OrVqB6qUISrloQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Wed, 20 Apr 2005 13:57:00 +0000 (13:57 +0000)]
bitkeeper revision 1.1338.1.2 (42665facQKpiHhfw13qIq439AkffOw)
Here is a patch to get Xen running on a 32-way Unisys ES7000 system.
Please note that this patch alone is not sufficient to do this. You will
also need the clustered APIC patch that I will be submitting soon. But
since this patch was to a general area in Xen I decided to submit it
separately. I think this patch will be required to get Xen running on
any system that has more than 16 CPUs.
Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com>
mafetter@fleming.research [Wed, 20 Apr 2005 13:02:32 +0000 (13:02 +0000)]
bitkeeper revision 1.1340 (426652e8h-OWfDH7vm_elbT4wtH2cA)
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/xeno/BK/xen-unstable.bk
into fleming.research:/scratch/fleming/mafetter/xen-unstable.bk
Signed-off-by: michael.fetterman@cl.cam.ac.uk
kaf24@firebug.cl.cam.ac.uk [Wed, 20 Apr 2005 13:00:18 +0000 (13:00 +0000)]
bitkeeper revision 1.1338.1.1 (42665262XHUfWrT775PaPvnAkL5qXg)
Fix assumption about size of irq_cpustat_t in assembly code.
Signed-off-by: Keir Fraser <keir@xensource.com>
mafetter@fleming.research [Wed, 20 Apr 2005 12:32:43 +0000 (12:32 +0000)]
bitkeeper revision 1.1339 (42664beb9pIazYZQ7Q7VrSdT1GCS1w)
Hand merge
Signed-off-by: michael.fetterman@cl.cam.ac.uk
mafetter@fleming.research [Wed, 20 Apr 2005 11:50:06 +0000 (11:50 +0000)]
bitkeeper revision 1.1311.1.1 (426641eeBv97w6sl983zxeR4Dc3Utg)
Cleanup page table handling. Add macros to access page table
entries, fixup plenty of places in the code to use the page
table types instead of "unsigned long".
Signed-off-by: Gerd Knorr <kraxel@bytesex.org>
Signed-off-by: michael.fetterman@cl.cam.ac.uk
kaf24@firebug.cl.cam.ac.uk [Wed, 20 Apr 2005 10:39:58 +0000 (10:39 +0000)]
bitkeeper revision 1.1338 (4266317ezHysqYzH_WRvfueqwU4i4Q)
Grant tables for FreeBSD.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
cw@f00f.org[kaf24] [Wed, 20 Apr 2005 10:36:34 +0000 (10:36 +0000)]
bitkeeper revision 1.1337 (426630b2jBKjnL7WBIWHGPtgL50rqg)
[PATCH] [PATCH] gdbserver minor build fixes
gdb-6.2.1-xen-sparse/gdb/gdbserver/configure | 2 +-
gdb-6.2.1-xen-sparse/gdb/gdbserver/configure.in | 2 +-
gdbbuild | 16 ++++++++++++----
3 files changed, 14 insertions(+), 6 deletions(-)
More cleanups are possible, I'll send those at a later stage.
arun.sharma@intel.com[kaf24] [Wed, 20 Apr 2005 10:25:15 +0000 (10:25 +0000)]
bitkeeper revision 1.1336 (42662e0bB62AMXvz0XCbYomA5_OHAw)
[PATCH] x86-64-enable-vmx.patch
Enable CONFIG_VMX for x86_64.
- Provides vmexit/entry handling code based on the x86_32 code
- Fix find_highest_vector for 64 bit (Benjamin Liu)
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
arun.sharma@intel.com[kaf24] [Wed, 20 Apr 2005 10:24:53 +0000 (10:24 +0000)]
bitkeeper revision 1.1335 (42662df5Ky_wqkYVs3ghiLYYBXII2Q)
[PATCH] x86-64-rdmsrl.patch
Use the rdmsrl implementation from Linux.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>